package routers

import (
	"WORKSPACE/controllers"
	"github.com/gin-gonic/gin"
)

func departmentRouter(r *gin.RouterGroup) {
	r.GET("/department", controllers.GetAlldepartment)
	r.DELETE("/department", controllers.Deldepartment)
	r.PUT("/department", controllers.Updatedepartment)
	r.POST("/department", controllers.Adddepartment)
}
